package com.wjy.game.message.data.req;

import com.wjy.game.enums.Operate;
import com.wjy.game.message.ReqMessageData;

import lombok.Data;

/**
 * @author wjy
 * @date 2025/5/16 14:12
 * @description 创建游戏房间
 */
@Data
public class CreateRoomReq implements ReqMessageData {

    private String roomName;

    private String playerId;

    private String playerName;

    @Override
    public String identify() {
        return playerId;
    }

    @Override
    public Operate operate() {
        return Operate.CREATE_ROOM;
    }
}
